import 'vant/lib/index.css';
import Vue from 'vue';
import { Button,Tabbar, TabbarItem,
    Swipe, SwipeItem,
    Grid, GridItem,
    Search,
    Sidebar, SidebarItem,
    NavBar ,
    Tag ,
    Card ,
    Field,
    Form ,
    Popup ,
    Area ,
    CountDown ,
    Tab, Tabs,
    GoodsAction, GoodsActionIcon, GoodsActionButton,
    SwipeCell ,
    Stepper ,
    Checkbox, CheckboxGroup,
    SubmitBar ,
    Dialog 

} from 'vant';

Vue.use(Button);
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(Grid);
Vue.use(GridItem);
Vue.use(Search);
Vue.use(Sidebar);
Vue.use(SidebarItem);

Vue.use(NavBar);
Vue.use(Tag);
Vue.use(Card);
Vue.use(Form);
Vue.use(Field);
Vue.use(Popup);
Vue.use(Area);
Vue.use(CountDown);
Vue.use(Tab);
Vue.use(Tabs);
Vue.use(GoodsAction);
Vue.use(GoodsActionButton);
Vue.use(GoodsActionIcon);
Vue.use(SwipeCell);
Vue.use(Stepper);
Vue.use(Checkbox);
Vue.use(CheckboxGroup);
Vue.use(SubmitBar);
Vue.prototype.$confirm=Dialog.confirm